package org.jie.guider.framework.mybatis.mapper;

import java.util.Map;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.type.Alias;

/**
 * @author LiJie
 */
public interface UserMapper {

    /**
     * XML 配置 ID 查询
     *
     * @param id ID
     * @return Map
     */
    Map<Object, Object> selectById(int id);

    /**
     * annotate 配置 ID 查询
     *
     * @param id ID
     * @return Map
     */
    @Select("select * from account_info where recId = #{id}")
    Map<Object, Object> selectOne(int id);

    Map<Object, Object> noXml(int id);
}
